package com.rfsp.common.feign;

import java.util.List;

//import org.springframework.cloud.openfeign.FeignClient;
import com.rfsp.common.pojo.po.OrgPO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.rfsp.common.base.ResultVO;
import com.rfsp.common.pojo.vo.PermVO;

//@FeignClient(name = "getOrg", url = "http://172.16.48.197:7020/uump")
public interface PermFeign {
	/**
     * 根据机构编号取得机构数据
     *
     * @return 机构信息
     */
//	@RequestParam(name="orgCode")@PathVariable@RequestHeader
    @RequestMapping(value ="/getOrg/?orgCode={orgCode}", method = RequestMethod.POST)
    OrgPO genOrderNum(@RequestParam("orgCode") String orgCode);
    

    ResultVO<List<PermVO>> listByNotValidateRole(String orgCode);
    

    ResultVO<List<PermVO>> listByNotValidateLogin(String orgCode);
    

    ResultVO<List<PermVO>> list(String orgCode, PermVO vo);

}
